#include "../drivers/7segments.h"
#include "../drivers/clock.h"
int main()
{
	int interval = 100;
	int time = 0;
	writeNumberToSegments(time);	
	writeTimeToClock(0);
	while(interval != 0)
	{
		int newTime = readTimeFromClock() / 100;
		printf("%d",readTimeFromClock());
		if(newTime > time)
		{
			time = newTime;
			writeNumberToSegments(time);
		}		
	}
	return 0;
}
